{% extends "base.html" %}

{% block body %}
  {% if stats %}
    <h1>MemCache Stats</h1>
    <table width="80%" border="0">
      <tr>
        <td align="left" width="30%">Cache Hits:</td>
        <td>{{stats.hits}}</td>
      </tr>
      <tr>
        <td align="left">Cache Misses:</td>
        <td>{{stats.misses}}</td>
      </tr>
      <tr>
        <td align="left">Cache Byte_Hits:</td>
        <td>{{stats.byte_hits}}</td>
      </tr>
      <tr>
        <td align="left">Cache Items:</td>
        <td>{{stats.items}}</td>
      </tr>
      <tr>
        <td align="left">Cache Bytes:</td>
        <td>{{stats.bytes}}</td>
      </tr>
      <tr>
        <td align="left">Cache Oldest_Item_Age:</td>
        <td>{{stats.oldest_item_age}}</td>
      </tr>
    </table>
  {% endif %}
{% endblock %}
